package cn.tedu.hospitalqd.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class InhospitalAddNewDTO {

    @ApiModelProperty(value = "患者住院时间", required = true)
    @NotNull(message = "必须提交患者住院时间")
    private Date inAddtime;

    @ApiModelProperty(value = "患者病历号", required = true)
    @NotNull(message = "必须提交患者病历号")
    private String zNumber;

    @ApiModelProperty(value = "患者名称", required = true)
    @NotNull(message = "必须提交患者名称")
    private String pName;

    @ApiModelProperty(value = "患者年龄", required = true)
    @NotNull(message = "必须提交患者年龄")
    private Integer pAge;

    @ApiModelProperty(value = "患者住院科室号", required = true)
    @NotNull(message = "必须提交患者住院科室号")
    private String sNumber;

    @ApiModelProperty(value = "患者住院科室名称", required = true)
    @NotNull(message = "患者住院科室名称")
    private String sName;

    @ApiModelProperty(value = "患者住院床位号", required = true)
    @NotNull(message = "患者住院床位号")
    private String inBednumber;

    @ApiModelProperty(value = "患者的责任医生", required = true)
    @NotNull(message = "患者的责任医生")
    private String dName;
}
